<!DOCTYPE HTML>
<html>
<head>
</head>
<script>
  screen.orientation.lock('landscape').then(function() {
    document.location.hash =
      screen.orientation.search("landscape") == 0 ? "#Pass" : "#Fail";
  }, function(e) {
    document.location.hash = "#" + e.name;
  });
</script>
<body>
  <div>Starting...</div>
</body>
</html>
